﻿using MyCompany.MyProject.Model.Models;

namespace MyCompany.MyProject.IService;

public interface IRoleModulePermissionServices:IBaseService<RoleModulePermission>
{

    Task<List<RoleModulePermission>> RoleModuleMaps();
    /// <summary>
    /// 批量更新菜单与接口的关系
    /// </summary>
    /// <param name="permissionId">菜单主键</param>
    /// <param name="moduleId">接口主键</param>
    /// <returns></returns>
    Task UpdateModuleId(long permissionId,long moduleId);
}
